import { isSuperAdministrator, authBtn } from '@/utils/permission'


export default {
	mounted (el, binding) {
		// 是否为超级管理员
		if (isSuperAdministrator()) {
			return
		}

		if (authBtn(binding.value)) {
			return
		}

		el.classList.add("div-disabled")
	}
}
